package com.jy.api.signUpReq.stock;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * Created by xiaohua on 2018/7/16.
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@JsonIgnoreProperties(ignoreUnknown = true)
public class StockBarReq {


    //店铺id
    private String storeId;
    //操作人员id
    private String empId;
    //总金额
    private Double amount;
    //修改的总数量
    private int skuCount;
    //操作人的名字
    private String operatorName;
    /**
     * 备注
     */
    private String notes;

    /**
     * 唯一识别码
     */
    private String code;

    List<BarProduct> barProducts;

    @Data
    @NoArgsConstructor
    @AllArgsConstructor(suppressConstructorProperties = true)
    public static class BarProduct {
        //商品Id
        private String productId;
        //商品名字
        private String name;
        //商品数量（用户输入的）
        private Integer quantity;


    }


}
